package com.rzj.book.service;

import com.rzj.book.bo.EmpBO;
import com.rzj.book.en.Emp;
import com.rzj.book.en.Menu;
import com.rzj.book.en.Tree;
import com.rzj.book.utils.PageResult;

import java.util.List;

/**
 * @ClassName IEmpService
 * @Description TODO
 * @Author Administrator
 * @Date 2020/5/17 13:51
 * @Version 1.0
 */
public interface IEmpService {

    Emp findByUsernameAndPwd(String username, String pwd);

    Menu readMenusByEmpuuid(Integer empId);

    List<Emp> getEmpList();

    List<Tree> readEmpRoles(Integer id);

    void insert(Emp emp);

    PageResult<Emp> getEmpBOList(Integer page, Integer rows, EmpBO empBO);

    Emp getEmpById(Integer id);

    void deleteEmpById(Integer id);
}
